<?php

$link = mysqli_connect("localhost","root","root","2113");
$mid = $_POST['mid'];
$content = $_POST['replyValue'];
$sql = "INSERT INTO relpay(content,mid) VALUES('$content',$mid)";
$res = mysqli_query($link,$sql);
$arr = [];
if($res){
	$arr['status'] = 1;
	$arr['info'] = "回复成功";
}else{
	$arr['status'] = 0;
	$arr['info'] = "回复失败";
}

echo json_encode($arr);


?>